using UnityEngine;
using System.Collections;

public class GameSetting{
	

    public Vector2 screenResolution;

    //Sound
    public bool musicSound;
    public bool fxSound;


	private static GameSetting instance;
	private static readonly object myLock = new object();
	
	// Use this for initialization
	private GameSetting() {

        screenResolution = new Vector2(1024, 768);

        musicSound = true;
        fxSound = true;

	}
	
	public static GameSetting getInstance(){
		
		lock((myLock)){
			if(instance == null)
				instance = new GameSetting();	
			
			
			return instance;
		}
	}

}
